package com.ruoyi.wms.domain.vo;

import java.util.Date;

import com.ruoyi.wms.domain.entity.employee.EmployeeTraining;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.excel.annotation.ExcelDictFormat;
import com.ruoyi.common.excel.convert.ExcelDictConvert;
import lombok.Data;
import io.github.linpeilie.annotations.AutoMapper;

import java.io.Serializable;
import java.io.Serial;

/**
 * 员工培训视图对象 employee_training
 *
 * @author 邓滔滔
 * @date 2024-12-04
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = EmployeeTraining.class)
public class EmployeeTrainingVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private Long id;

    /**
     * 培训状态
     */
    @ExcelProperty(value = "培训状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "train_status")
    private String status;

    /**
     * 培训名称
     */
    @ExcelProperty(value = "培训名称")
    private String trainingName;

    /**
     * 员工
     */
    @ExcelProperty(value = "员工")
    private Long employeeId;

    /**
     * 培训类型
     */
    @ExcelProperty(value = "培训类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "train_type")
    private String trainingType;

    /**
     * 开始时间
     */
    @ExcelProperty(value = "开始时间")
    private Date startDate;

    /**
     * 结束时间
     */
    @ExcelProperty(value = "结束时间")
    private Date endDate;

    /**
     * 培训内容
     */
    @ExcelProperty(value = "培训内容")
    private String trainingContent;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;


}
